package com.bicon.base.data.pojo.botu;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("t_task")
public class TTask extends Model<TTask> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * job名称
     */
    private String jobname;
    /**
     * job表达式
     */
    private String cornexpress;
    /**
     * job所在的类
     */
    private String targetbeanname;
    /**
     * job执行的方法
     */
    private String jobmethod;
    /**
     * 远程url
     */
    private String url;
    /**
     * 远程ip
     */
    private String ip;
    /**
     * 远程端口号
     */
    private String port;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJobname() {
        return jobname;
    }

    public void setJobname(String jobname) {
        this.jobname = jobname;
    }

    public String getCornexpress() {
        return cornexpress;
    }

    public void setCornexpress(String cornexpress) {
        this.cornexpress = cornexpress;
    }

    public String getTargetbeanname() {
        return targetbeanname;
    }

    public void setTargetbeanname(String targetbeanname) {
        this.targetbeanname = targetbeanname;
    }

    public String getJobmethod() {
        return jobmethod;
    }

    public void setJobmethod(String jobmethod) {
        this.jobmethod = jobmethod;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TTask{" +
        "id=" + id +
        ", jobname=" + jobname +
        ", cornexpress=" + cornexpress +
        ", targetbeanname=" + targetbeanname +
        ", jobmethod=" + jobmethod +
        ", url=" + url +
        ", ip=" + ip +
        ", port=" + port +
        "}";
    }
}
